/**
 * Copyright &copy; 2012-2016 <a href="https://www.kaaction.com">KAA</a> All rights reserved All rights reserved.
 */
package com.kaaction.modules.ka.entity;

import org.hibernate.validator.constraints.Length;

import com.kaaction.common.persistence.DataEntity;

/**
 * 渠道Entity
 * @author huanghaiming
 * @version 2017-06-14
 */
public class KaCanal extends DataEntity<KaCanal> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 渠道
	
	public KaCanal() {
		super();
	}

	public KaCanal(String id){
		super(id);
	}

	@Length(min=1, max=64, message="渠道长度必须介于 1 和 64 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}